{config_load file="menu.conf"}
<ul>
    {if ( isset( $smarty.session.login ) )}
        <li><a class="navigation" href="{#logout#}">Logout</a></li>
        <li><a class="navigation" href="{#barley_break#}">Barley-Break</a></li>
    {else}
        <li><a class="navigation" href="{#login#}">Login</a></li>
        <li><a class="navigation" href="{#registration#}">Sign Up</a></li>
    {/if}
    <li><a class="navigation" href="{#search#}">Get User Info</a></li>
    <li><a class="navigation" href="{#upload#}">Upload File</a></li>
    <li><a class="navigation" href="{#uploaded#}">Uploaded</a></li>
    <li><a class="navigation" href="{#user_list#}">Users List</a></li>
    <li><a class="navigation" href="{#slide_show#}">Slide Show</a></li>
    <li class="have_sub_menu">
        <a id="menu" class="navigation" href="#">Drop-down Menu</a>
        <ul id="sub_menu" class="sub_menu_ul">
            <li class="sub_menu_li"><a class="navigation" href="{#search#}">Get User Info</a></li>
            <li class="sub_menu_li"><a class="navigation" href="{#upload#}">Upload File</a></li>
            <li class="sub_menu_li"><a class="navigation" href="{#uploaded#}">Uploaded</a></li>
            <li class="sub_menu_li"><a class="navigation" href="{#user_list#}">Users List</a></li>
        </ul>
    </li>
</ul>